﻿/*------------------------------------------------------------------
-- COPYRIGHT (C) 2010-2012  Atom
-- ALL RIGHTS RESERVED.
-- 兆尹科技
-- CREATE DATE: 2010/07/12
-- CREATE MAN:	姜新军
-- 创建业务逻辑层类
-- MODIFY HISTORY:
-- MODIFY DATE:
-- MODIFY MAN:	
-- MODIFY DESC:
-- MODIFY DATE:
-- MODIFY MAN:	
-- MODIFY DESC:
---------------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Text;
using Atom.Common;
 
namespace Atom.BLL
{
    /// <summary>
    /// 创建业务逻辑层类
    /// </summary>
    public static class BLLCreator
    {
        /// <summary>
        /// 创建业务实例
        /// </summary>
        /// <typeparam name="T">业务层类型</typeparam>
        /// <returns>业务实例</returns>
        public static T Create<T>()
           where T : BaseBLL, new()
        {
            return ObjectCreator.Create<T>();
        }
    }
}
